home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
contkit.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
905b
|
32 lines
/* CONTEXT KIT ObjectKit class with linked contextts.
Leaving this object we set context(used + 1) - it is the way
to hide context (and to show any context-independent picture
or "").
*/
#ifndef __CONTEXT_KIT
#define __CONTEXT_KIT
#include "objkit.h"
#include "global.h"
#include "context.h"
class ContextKit : public ObjectKit, public Context
{
protected:
char* hot; // string of hot keys
public:
ContextKit(char* HOT = NULL,
rect STATUSPOS = rect(0, 24, 79, 25),
int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
int* STATUSLIST = NULL);
void setHot(char* ch) { hot = ch; }
void setType(int t) { statusType = t; }
void setStrings(char** str) { statusStrings = str; }
void setList(int* list) { statusList = list; }
virtual void exe(int act = 0);
virtual void show();
};
#endif __CONTEXT_KIT